public class ArrTest2 {
    public static void main(String[] args) {
        int[][] arr = new int[3][];
        arr[0] = new int[4];
        arr[1] = new int[10];
        arr[2] = new int[2];
        arr[0][0] = 1;
        arr[1][5] = 6;
        arr[2][1] = 2;
        for(int i = 0;i<arr.length;i++){
            for(int j = 0;j<arr[i].length;j++){
                System.out.print(arr[i][j]+" ");
            }
            System.out.println();
        }
    }
}
